<?=view("home.common.header")?>
    <div class="container-fluid">
        <div class="row">
            <div class="col-xs-12 col-sm-12 bottom-line">
                <i class="glyphicon glyphicon-chevron-right jt"></i><span class="headfont">订单详情</span>
            </div>
        </div>
        <div class="row">
            <div class="col-xs-12 col-sm-12" style="padding-bottom: 15px;">
            <div class="ddh bottom-dashed">订单号:&nbsp;
        	<div class="dongtss"><?=$order->order?></div>
            </div>
            <div class="ddh bottom-dashed">订单金额：&nbsp;
        	<div class="dongtxx"><?=$order->strPrice()?></div>
            </div>
            <div class="ddh bottom-dashed">付款状态：&nbsp;
                    <div class="dongtxx"><?=$order->strPayStatus(2)?></div>
            </div>
            <div class="ddh bottom-dashed">订单产品：&nbsp;
                    <div class="dongtxx"><?=$order->strProductName()?></div>
            </div>
            <div class="ddh bottom-dashed">订单类型：&nbsp;
                    <div class="dongtxx"><?=$order->strPtype()?></div>
            </div>
            <div class="ddh bottom-dashed">下单时间：&nbsp;
                    <div class="dongtxx"><?=$order->strTime()?></div>
            </div>
			<div class="ddh bottom-dashed">装机用户：&nbsp;
                    <div class="dongtxx"><?=$order->name?></div>
            </div>
			<div class="ddh bottom-dashed">联系电话：&nbsp;
                    <div class="dongtxx"><?=$order->phone?></div>
            </div>
			<div class="ddh bottom-dashed">装机小区：&nbsp;
                    <div class="dongtxx"><?=$order->strPlot()?></div>
            </div>
			<?php if ($order->address): ?>
			<div class="ddh bottom-dashed">详细地址：&nbsp;
                    <div class="dongtxx"><?=$order->address?></div>
            </div>
            <?php endif; ?>
            <div class="ddh bottom-dashed">下单人昵称：&nbsp;
                    <div class="dongtxx"><?=$order->strNickname()?></div>
            </div>
            <div class="ddh bottom-dashed">代付人：&nbsp;
                    <div class="dongtxx"><?=$order->strPayPhone()?></div>
            </div>
            <?php if (in_array($order->status, array(3))): ?>
            <div class="ddh bottom-dashed">帐号 - 密码：：&nbsp;
                    <div class="dongtxx"><?=$order->strNetUser()?></div>
            </div>
            <?php endif; ?>
            <?php if($order->status == 0): ?>
            <div><a class="evePay btn btn-success form-control" href="<?=url("/home/pay/index/{$order->id}")?>?showwxpaytitle=1" id="weixin">确认支付</a></div>
            <?php if($order->issub == 0): ?>
            <div><a class="evePay btn btn-primary form-control" href="<?=url("/home/person/editorder/{$order->id}")?>?showwxpaytitle=1" id="weixin">修改代付人</a></div>
            <?php endif; ?>
            <div><a class="evePay btn btn-info form-control" href="<?=url("/home/person/closeorder/{$order->id}")?>" id="weixin">关闭订单</a></div>
            <?php endif; ?>
        </div>
    </div>

<?=view("home.common.footer")?>